﻿<%@ Page Language="VB" masterpagefile="../MasterPage.master" title="Grond Online Reporting System"  AutoEventWireup="false" CodeFile="~/Code/AssignClient.aspx.vb" Inherits="Presentation_Control_AssignClient"%>
<asp:content ContentPlaceHolderID="MainMaster" runat ="server">
<form id="form1" runat="server">
	<p>Please type in Part of the Company's Name:&nbsp;
        <asp:TextBox ID="txtSearchName" runat="server" AutoPostBack="true" OnTextChanged="txtSearchName_TextChanged"
            Width="183px"></asp:TextBox></p>
    <p>
        Please Select the company from the list:
        <asp:DropDownList ID="dlClientNames" runat="server" DataTextField="ClientName" DataValueField="ClientID">
        </asp:DropDownList><asp:RequiredFieldValidator ID="rvddlClientNames" ControlToValidate = "dlClientNames"
                             InitialValue = "0" runat="server" ErrorMessage="Select a Client" 
                             SetFocusOnError ="true" BorderColor="Transparent" Width="116px"></asp:RequiredFieldValidator></p>
    <p>
	Please select the executive to assign to:
        <asp:DropDownList ID="dlExecutives" runat="server">
        </asp:DropDownList><br />
	<br />
        &nbsp;<br />
	<br />
	<asp:Button runat="server" Text="Submit" id="Button1" />
	<asp:Label runat="server" Text="Client Assigned" id="lblSuccess" Font-Bold="True" Visible="False"></asp:Label>
    </p>
	<p>&nbsp;</p>
</form>
</asp:content>